/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2302 - For1
 * <p>Powered by webrx On 2023-06-12 16:23:34
 * <p>Created by IntelliJ IDEA
 *
 * @author  webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For1 {
    public static void main(String[] args) {
        //System.out.println("ok\t".repeat(15));

        //System.out.println();
        //for (int i = 0; i < 10; i++) {
        //    System.out.print("ok"+(i+1)+"\t");
        //}

        //for （计数循环语句，1...5）
        for (int i = 0; i < 5; i++) {
            System.out.println(i+1);
        }

        for (int i = 10; i > 0; i--) {
            System.out.printf("%02d\t",i);
        }

    }
}
